package org.summer.lawyer.domain.vo.category;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.summer.common.mybatis.core.domain.BaseEntitySearch;
import org.summer.lawyer.domain.Category;

import java.io.Serial;
import java.util.Date;

/**
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Category.class)
public class CategoryVo extends BaseEntitySearch {


    @Serial
    private static final long serialVersionUID = -5733587902106972902L;

    /**
     * 分类ID
     */
    private Long categoryId;

    /**
     * 分类名称
     */
    private String categoryName;

    /**
     * 父级ID
     */
    private Long parentId;

    /**
     * 父级名称
     */
    private String parentName;

    /**
     * 分类层级 从0开始
     */
    private Integer categoryLevel;

    /**
     * 分类描述
     */
    private String categoryDesc;

    /**
     * 排序
     */
    private Integer categorySort;

    /**
     * 图片
     */
    private String imageUrl;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 分类路径
     */
    private String categoryPath;
}
